package com.wclass.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;

import com.baomidou.mybatisplus.annotations.Version;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 发现-文件夹名称
 * </p>
 *
 * @author SEN
 * @since 2018-12-26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("base_find_filename")
public class BaseFindFilename extends SuperEntity<BaseFindFilename> {

    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     */
    @ApiModelProperty("用户id")
    @TableField("user_id")
    private Long userId;
    /**
     * 名称
     */
    @ApiModelProperty("名称")
    private String name;
    /**
     * 封面图片
     */
    @ApiModelProperty("封面图片")
    @TableField("cover_img")
    private String coverImg;
    /**
     * 文件夹下收藏数量
     */
    @ApiModelProperty("文件夹下收藏数量")
    @TableField(value = "collect_num",exist = false)
    private String collectNum;

}
